import 'package:json_annotation/json_annotation.dart'; 
  
//part 'CommDic.g.dart';
part 'CommDic.g.dart';


@JsonSerializable()
  class CommDic extends Object {

  @JsonKey(name: 'data')
  List<Data> data;

  @JsonKey(name: 'code')
  String code;

  @JsonKey(name: 'msg')
  String msg;

  CommDic(this.data,this.code,this.msg,);

  factory CommDic.fromJson(Map<String, dynamic> srcJson) => _$CommDicFromJson(srcJson);

  Map<String, dynamic> toJson() => _$CommDicToJson(this);

}

  
@JsonSerializable()
  class Data extends Object {

  @JsonKey(name: 'id')
  int id;

  @JsonKey(name: 'groupId')
  String groupId;

  @JsonKey(name: 'groupName')
  String groupName;

  @JsonKey(name: 'codeValue')
  int codeValue;

  @JsonKey(name: 'codeName')
  String codeName;

  @JsonKey(name: 'parentId')
  int parentId;

  @JsonKey(name: 'operationDesc')
  String operationDesc;

  @JsonKey(name: 'engAbbr')
  String engAbbr;

  @JsonKey(name: 'sort')
  int sort;

  @JsonKey(name: 'isUse')
  String isUse;

  @JsonKey(name: 'createTime')
  String createTime;

  Data(this.id,this.groupId,this.groupName,this.codeValue,this.codeName,this.parentId,this.operationDesc,this.engAbbr,this.sort,this.isUse,this.createTime,);

  factory Data.fromJson(Map<String, dynamic> srcJson) => _$DataFromJson(srcJson);

  Map<String, dynamic> toJson() => _$DataToJson(this);

}

  
